<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('离职申请')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-adddimission-add">
        <div class="form-group">
            <label class="col-sm-3 control-label">请输入申请离职的员工ID:</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="dimissionId" id="dimissionId" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label ">请输入申请离职的员工姓名:</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="dimissionName" id="dimissionName" required>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
    var prefix = ctx + "hcy/dimission";
    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/add", $('#form-adddimission-add').serialize());
        }
    }
</script>
</body>
</html>
